import request from '@/utils/request'

export function loginRequest(data) {
  return request.post('/sys/login', data)
}

export function getProfileReauest() {
  return request.get('/sys/profile')
}

export function updatePassReauest(data) {
  return request({
    method: 'put',
    url: '/sys/user/updatePass',
    data
  })
}
